package org.cainiaojin.mapper.secondary;

import org.apache.ibatis.annotations.Mapper;
import org.cainiaojin.domain.secondary.SecondaryUser;

@Mapper
public interface SecondaryUserMapper {
    /**
     * 获取用户
     * @param id
     * @return
     */
    SecondaryUser getSecondaryUser(Integer id);
    /**
     * 保存用户
     * @param secondaryUser
     * @return
     */
    Integer saveSecondaryUser(SecondaryUser secondaryUser);
    /**
     * 删除用户
     * @param id
     * @return
     */
    Integer deleteSecondaryUser(Integer id);
    /**
     * 更新用户
     * @param secondaryUser
     * @return
     */
    Integer updateSecondaryUser(SecondaryUser secondaryUser);
}
